﻿using Construction.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Construction.MainUI
{
    public partial class MainForm : DevExpress.XtraBars.Ribbon.RibbonForm
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            nConstruction congtrinh = new nConstruction();
            congtrinh.Name = "Công trình 1";

            nStories tang1 = new nStories();
            tang1.Name = "Tầng 1";
            congtrinh.Add(tang1);

            nBeams b1 = new nBeams();
            b1.Name = "D1";
            tang1.Add(b1);

            iBeams dd1 = new iBeams();
            dd1.Name = "DD1";
            b1.Add(dd1);

        }
    }
}
